import java.util.Scanner;
public class ave{
        public static void main(String[] args){
		Scanner aver = new Scanner(System.in);
		int i;
		int a , sum = 0;
		double ave;
		for(i = 1; i <= 3; i++){
			System.out.println("pls input the number: ");                        a = aver.nextInt();
		        sum += a;
		}
		ave = sum/3.0;
		System.out.println("the average is "+ave);
	}
}


